package com.aacar.service;

import com.aacar.dto.MemberOrderListDto;
import com.aacar.dto.SubmitOrderDto;
import com.aacar.utils.Pagination;
import com.aacar.vo.MemberOrderDetailVo;
import com.aacar.vo.MemberOrderListVo;
import com.aacar.vo.SubmitOrderVo;

public interface MemberOrderService {

	/**
	 * 提交订单
	 * @return
	 */
	SubmitOrderVo submitOrder(SubmitOrderDto submitOrderDto);


	/**
	 * 查询会员端订单列表
	 */
	Pagination<MemberOrderListVo> getMemberOrderListPage(MemberOrderListDto memberOrderListDto);


	/**
	 * 用户端查询订单详情
	 * @param orderNo
	 * @return
	 */
	MemberOrderDetailVo getMemberOrderDetail(String orderNo);


	/**
	 * 用户取消订单
	 */
	String cancelMemberOrder(String orderNo,Long userId,String deviceTokens);

}
